<!doctype html>
<html>
<head>
    <title>列表页面</title>
    <?php $this->load->module('admin/index/page_header');?>
    <link href="<?php echo URLPRE;?>static/admin/css/font_icon.css" rel="stylesheet" />
</head>
<body>
<div id="mainContent" class="wrap">

    <div class="nav">
        <ul>
            <li><a href="<?php echo site_url('admin/adminuser/add')?>" class="icon-plus" >添加</a></li>
        </ul>
    </div>
    <div class="h_a">达人列表</div>
    <div id="content" class="table_full">
        <form method="post">

            <table data-uri="<?php echo site_url('expert/admin/expert_status');?>">
                <tr>

                    <th style="width:1%;"><li style="display:none"><a data="true" title="全选" onclick="tools_select('id[]',this)" href="javascript:;" class="icon-checkbox-checked icon-checkbox-unchecked"> 全选 </a></li></th>
                    <th style="width:2%;">ID</th>
                    <th style="width:6%;">用户名</th>
                    <th style="width:6%;">昵称</th>
                    <th style="width:4%;">手机</th>
                    <th style="width:4%;">邮箱</th>
                    <th style="width:4%;">最后登录时间</th>
                    <th style="width:4%;">最后登录IP</th>
                    <th style="width:4%;">状态</th>
                    <th style="width:4%;">推荐</th>
                    <th style="width:4%;">导游身份审核</th>
                    <th style="width:2%;"></th>
                </tr>

                <?php foreach($expert_array as $k=>$v):?>
                    <tr>
                        <td style="width:2%;">
                            <input type="checkbox" value="<?php echo $v['id'];?>" name="id[]">

                        </td>

                        <td><a href="<?php echo site_url('/expert/admin/edit_expert/'.$v['id']);?>" ><?php echo $v['id'];?></a></td>
                        <td style="width:6%;"><?php echo $v['name'];?></td>
                        <td style="width:6%;"><?php echo $v['nickname'];?></td>
                        <td style="width:4%;"><?php echo $v['mobile'];?></td>
                        <td style="width:4%;"><?php echo $v['email'];?></td>

                        <td style="width:4%;"><?php echo $v['last_login_time'];?></td>

                        <td style="width:4%;"><?php echo $v['last_login_ip'];?></td>
                        <td style="width:4%;">
                            <img class="pointer" data-id="<?php echo $v['id'];?>" style="cursor: pointer;" data-type='admin' data-field="is_open" data-value="<?php echo $v['is_open'];?>" src="<?php echo URLPRE;?>static/admin/images/icons/icon_<?php echo $v['is_open'];?>.png" />
                        </td>
                        <td style="width:4%;">
                            <?php if(isset($v['is_recommend'])):?>
                            <img class="pointer" data-id="<?php echo $v['id'];?>" style="cursor: pointer;" data-type='expert' data-field="is_recommend" data-value="<?php echo $v['is_recommend'];?>" src="<?php echo URLPRE;?>static/admin/images/icons/icon_<?php echo $v['is_recommend'];?>.png" />
                        <?php endif ;?>
                        </td>
                        <td style="width:4%;">
                            <img class="pointer" data-id="<?php echo $v['id'];?>" style="cursor: pointer;" data-type='admin' data-field="is_guide" data-value="<?php echo $v['is_guide'];?>" src="<?php echo URLPRE;?>static/admin/images/icons/icon_<?php echo $v['is_guide'];?>.png" />
                        </td>
                        <td style="width:4%" class="btn_min">
                            <a class="icon-pencil" href="<?php echo site_url('/expert/admin/edit_expert/'.$v['id']);?>">编辑</a>
                            <a class="icon-remove-2 doDel" href="javascript:;" data-uri="">删除</a>
                        </td>
                    </tr>
                <?php endforeach ;?>



            </table>
        </form>
        <div class="page_nav">
            <?php echo $this->mypageclass->show(1); ?>
        </div>
    </div>
</div>

</body>
</html>